runtime.sudog.c (field)
21 uses
runtime (current package)
chan.go#L270: mysg.c.set(c)
chan.go#L301: mysg.c.set(nil)
chan.go#L651: mysg.c.set(c)
chan.go#L683: mysg.c.set(nil)
mgc.go#L1200: if isMarkedOrNotInHeap(unsafe.Pointer(sg.c.get())) {
mgc.go#L1273: sg.c.setUntraceable()
mgc.go#L1287: sg.c.setTraceable()
mgc.go#L1328: shade(sg.c.uintptr())
proc.go#L542: if s.c.get() != nil {
runtime2.go#L447: c maybeTraceableChan // channel
select.go#L86: if sg.c.get() != lastc && lastc != nil {
select.go#L95: lastc = sg.c.get()
select.go#L328: sg.c.set(c)
select.go#L372: sg1.c.set(nil)
stack.go#L838: p := sg.elem.uintptr() + uintptr(sg.c.get().elemsize)
stack.go#L857: if sg.c.get() != lastc {
stack.go#L867: lockWithRank(&sg.c.get().lock, lockRankHchanLeaf)
stack.go#L869: lastc = sg.c.get()
stack.go#L889: if sg.c.get() != lastc {
stack.go#L890: unlock(&sg.c.get().lock)
stack.go#L892: lastc = sg.c.get()
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |